<?php
namespace app\common\model;

use think\Model;

class CompanyStaffEducation extends Model
{
	protected function setAdmissionTimeAttr($v)
	{
		return $v ? strtotime($v) : $v;
	}
	protected function setGraduationTimeAttr($v)
	{
		return $v ? strtotime($v) : $v;
	}
	protected function getAdmissionTimeAttr($v)
	{
		return $v ? date('Y-m-d',$v) : $v;
	}
	protected function getGraduationTimeAttr($v)
	{
		return $v ? date('Y-m-d',$v) : $v;
	}
}